[INFO] cloning repository https://github.com/Trangar/janfeb_2017
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trangar/janfeb_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fjanfeb_2017", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fjanfeb_2017'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a68ffeccb97793f6113b84c7a4d68184933cdbf9
[INFO] checking Trangar/janfeb_2017 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fjanfeb_2017" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Trangar/janfeb_2017 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/Trangar/janfeb_2017
[INFO] removed path dependency engine from git repo https://github.com/Trangar/janfeb_2017
[INFO] finished tweaking git repo https://github.com/Trangar/janfeb_2017
[INFO] tweaked toml for git repo https://github.com/Trangar/janfeb_2017 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Trangar/janfeb_2017 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 68f0544607dcbd4df5bd90ddec01896ca3ca045a58fa51a0057e8bd0d6998cb9
[INFO] running `Command { std: "docker" "start" "-a" "68f0544607dcbd4df5bd90ddec01896ca3ca045a58fa51a0057e8bd0d6998cb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68f0544607dcbd4df5bd90ddec01896ca3ca045a58fa51a0057e8bd0d6998cb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68f0544607dcbd4df5bd90ddec01896ca3ca045a58fa51a0057e8bd0d6998cb9", kill_on_drop: false }`
[INFO] [stdout] 68f0544607dcbd4df5bd90ddec01896ca3ca045a58fa51a0057e8bd0d6998cb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d7101f66d41bbb9c476ab9d9e1022848b8c8312cf311833ae11196d7b0294fa8
[INFO] running `Command { std: "docker" "start" "-a" "d7101f66d41bbb9c476ab9d9e1022848b8c8312cf311833ae11196d7b0294fa8", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking getrandom v0.1.15
[INFO] [stderr]     Checking backtrace v0.3.50
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking engine v0.0.0
[INFO] [stderr]     Checking janfeb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `engine::Engine`, `engine::EntityTrait`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use engine::{Engine, EntityTrait};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^ no `EntityTrait` in the root
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `Engine` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             CollisionLayer::Player
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             CollisionLayer::Enemy
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |             vec![CollisionLayer::Enemy]
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             vec![CollisionLayer::Player]
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/bullet.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Some(CollisionLayer::Enemy)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         vec![CollisionLayer::Player]
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `engine::Engine`, `engine::EntityTrait`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use engine::{Engine, EntityTrait};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^ no `EntityTrait` in the root
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `Engine` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             CollisionLayer::Player
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             CollisionLayer::Enemy
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |             result.push(EntityEvent::SpawnEntity(Box::new(bullet)));
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Some(CollisionLayer::Enemy)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |         vec![CollisionLayer::Player]
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:64:15
[INFO] [stdout]    |
[INFO] [stdout] 64 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:97:25
[INFO] [stdout]    |
[INFO] [stdout] 97 |             result.push(EntityEvent::SpawnEntity(Box::new(bullet)));
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:49:37
[INFO] [stdout]    |
[INFO] [stdout] 49 |                         result.push(EntityEvent::SpawnEntity(Box::new(enemy)));
[INFO] [stdout]    |                                     ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:53:37
[INFO] [stdout]    |
[INFO] [stdout] 53 |                         result.push(EntityEvent::SpawnEntity(Box::new(enemy)));
[INFO] [stdout]    |                                     ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |                         result.push(EntityEvent::SpawnEntity(Box::new(enemy)));
[INFO] [stdout]    |                                     ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/player.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Some(CollisionLayer::Player)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |             vec![CollisionLayer::Enemy]
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/bullet.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |             vec![CollisionLayer::Player]
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/bullet.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/player.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         vec![CollisionLayer::Enemy]
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/player.rs:57:15
[INFO] [stdout]    |
[INFO] [stdout] 57 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:69:43
[INFO] [stdout]    |
[INFO] [stdout] 69 |         if game_state.keyboard.is_keydown(VirtualKeyCode::A) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:72:43
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if game_state.keyboard.is_keydown(VirtualKeyCode::D) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if game_state.keyboard.is_keydown(VirtualKeyCode::S) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:78:43
[INFO] [stdout]    |
[INFO] [stdout] 78 |         if game_state.keyboard.is_keydown(VirtualKeyCode::W) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]    --> src/entities/player.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |             result.push(EntityEvent::SpawnEntity(Box::new(bullet)));
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]    --> src/entities/player.rs:156:18
[INFO] [stdout]     |
[INFO] [stdout] 156 |             vec![EntityEvent::SpawnEntity(you_lost)]
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Some(CollisionLayer::Enemy)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         vec![CollisionLayer::Player]
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/you_lost.rs:41:36
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .is_pressed_this_frame(VirtualKeyCode::Space)
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/you_lost.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 .map(|s| EntityEvent::SpawnEntity(s))
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/you_lost.rs:49:32
[INFO] [stdout]    |
[INFO] [stdout] 49 |             response.insert(0, EntityEvent::ClearAllEntities);
[INFO] [stdout]    |                                ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl EntityTrait<GraphicsEnum> for Bullet {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl EntityTrait<GraphicsEnum> for Bullet {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl EntityTrait<GraphicsEnum> for Bullet {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, _: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:42:66
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, _: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:80:21
[INFO] [stdout]    |
[INFO] [stdout] 80 |         _: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         _: &mut EntityState,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:87:56
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EntityTrait<GraphicsEnum> for Enemy1 {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EntityTrait<GraphicsEnum> for Enemy1 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EntityTrait<GraphicsEnum> for Enemy1 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:80:25
[INFO] [stdout]    |
[INFO] [stdout] 80 |             result.push(EntityEvent::SpawnEntity(Box::new(bullet)));
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:42:46
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:42:71
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:84:56
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 |         self_state: &mut EntityState,
[INFO] [stdout]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |         _: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |         _: &mut EntityState,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl EntityTrait<GraphicsEnum> for Enemy2 {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:42:42
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl EntityTrait<GraphicsEnum> for Enemy2 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:45:43
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl EntityTrait<GraphicsEnum> for Enemy2 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:48:46
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:48:71
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:101:56
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self_state: &mut EntityState,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |         _: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |         _: &mut EntityState,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl EntityTrait<GraphicsEnum> for EnemySpawner {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _: &mut EntityState,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/player.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/player.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 | const COLOR_GREEN: Color = (0.0, 1.0, 0.0, 1.0);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/player.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 | const COLOR_RED: Color = (1.0, 0.0, 0.0, 1.0);
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/player.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl EntityTrait<GraphicsEnum> for Player {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/player.rs:40:42
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl EntityTrait<GraphicsEnum> for Player {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/player.rs:43:43
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl EntityTrait<GraphicsEnum> for Player {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/player.rs:46:46
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:46:71
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/player.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/player.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/player.rs:111:28
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]    --> src/entities/player.rs:111:56
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/player.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |         self_state: &mut EntityState,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]    --> src/entities/player.rs:145:26
[INFO] [stdout]     |
[INFO] [stdout] 145 |         _other: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/player.rs:146:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |         other_state: &mut EntityState,
[INFO] [stdout]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]    --> src/entities/player.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl EntityTrait<GraphicsEnum> for YouLost {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:23:52
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `TGraphicIndex` in crate `engine`
[INFO] [stdout]   --> src/main.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl engine::TGraphicIndex for GraphicsEnum {}
[INFO] [stdout]    |              ^^^^^^^^^^^^^ not found in `engine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Some(CollisionLayer::Enemy)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |         vec![CollisionLayer::Player]
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `engine::*`
[INFO] [stdout]  --> src/entities/enemy_spawner.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use engine::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:64:15
[INFO] [stdout]    |
[INFO] [stdout] 64 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:97:25
[INFO] [stdout]    |
[INFO] [stdout] 97 |             result.push(EntityEvent::SpawnEntity(Box::new(bullet)));
[INFO] [stdout]    |                         ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 108 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `janfeb`.
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:49:37
[INFO] [stdout]    |
[INFO] [stdout] 49 |                         result.push(EntityEvent::SpawnEntity(Box::new(enemy)));
[INFO] [stdout]    |                                     ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:53:37
[INFO] [stdout]    |
[INFO] [stdout] 53 |                         result.push(EntityEvent::SpawnEntity(Box::new(enemy)));
[INFO] [stdout]    |                                     ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |                         result.push(EntityEvent::SpawnEntity(Box::new(enemy)));
[INFO] [stdout]    |                                     ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/player.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |         Some(CollisionLayer::Player)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CollisionLayer`
[INFO] [stdout]   --> src/entities/player.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |         vec![CollisionLayer::Enemy]
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ use of undeclared type or module `CollisionLayer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityState`
[INFO] [stdout]   --> src/entities/player.rs:57:15
[INFO] [stdout]    |
[INFO] [stdout] 57 |             ..EntityState::default()
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type or module `EntityState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:69:43
[INFO] [stdout]    |
[INFO] [stdout] 69 |         if game_state.keyboard.is_keydown(VirtualKeyCode::A) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:72:43
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if game_state.keyboard.is_keydown(VirtualKeyCode::D) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if game_state.keyboard.is_keydown(VirtualKeyCode::S) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/player.rs:78:43
[INFO] [stdout]    |
[INFO] [stdout] 78 |         if game_state.keyboard.is_keydown(VirtualKeyCode::W) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]    --> src/entities/player.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |             result.push(EntityEvent::SpawnEntity(Box::new(bullet)));
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]    --> src/entities/player.rs:156:18
[INFO] [stdout]     |
[INFO] [stdout] 156 |             vec![EntityEvent::SpawnEntity(you_lost)]
[INFO] [stdout]     |                  ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout]   --> src/entities/you_lost.rs:41:36
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .is_pressed_this_frame(VirtualKeyCode::Space)
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^ use of undeclared type or module `VirtualKeyCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/you_lost.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 .map(|s| EntityEvent::SpawnEntity(s))
[INFO] [stdout]    |                          ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EntityEvent`
[INFO] [stdout]   --> src/entities/you_lost.rs:49:32
[INFO] [stdout]    |
[INFO] [stdout] 49 |             response.insert(0, EntityEvent::ClearAllEntities);
[INFO] [stdout]    |                                ^^^^^^^^^^^ use of undeclared type or module `EntityEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl EntityTrait<GraphicsEnum> for Bullet {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl EntityTrait<GraphicsEnum> for Bullet {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl EntityTrait<GraphicsEnum> for Bullet {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:42:41
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, _: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:42:66
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, _: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:80:21
[INFO] [stdout]    |
[INFO] [stdout] 80 |         _: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |         _: &mut EntityState,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:87:28
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]   --> src/entities/bullet.rs:87:56
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EntityTrait<GraphicsEnum> for Enemy1 {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EntityTrait<GraphicsEnum> for Enemy1 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl EntityTrait<GraphicsEnum> for Enemy1 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:42:46
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:42:71
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:84:56
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:95:26
[INFO] [stdout]    |
[INFO] [stdout] 95 |         self_state: &mut EntityState,
[INFO] [stdout]    |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |         _: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |         _: &mut EntityState,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_1.rs:98:14
[INFO] [stdout]    |
[INFO] [stdout] 98 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl EntityTrait<GraphicsEnum> for Enemy2 {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:42:42
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl EntityTrait<GraphicsEnum> for Enemy2 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:45:43
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl EntityTrait<GraphicsEnum> for Enemy2 {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:48:46
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:48:71
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:49:22
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemies/enemy_2.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:101:56
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self_state: &mut EntityState,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |         _: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]     |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |         _: &mut EntityState,
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]    --> src/entities/enemies/enemy_2.rs:115:14
[INFO] [stdout]     |
[INFO] [stdout] 115 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl EntityTrait<GraphicsEnum> for EnemySpawner {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _: &mut EntityState,
[INFO] [stdout]    |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/enemy_spawner.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/player.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/player.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 | const COLOR_GREEN: Color = (0.0, 1.0, 0.0, 1.0);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/player.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 | const COLOR_RED: Color = (1.0, 0.0, 0.0, 1.0);
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/player.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl EntityTrait<GraphicsEnum> for Player {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/player.rs:40:42
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl EntityTrait<GraphicsEnum> for Player {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn collision_layers(&self) -> Option<CollisionLayer> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope
[INFO] [stdout]   --> src/entities/player.rs:43:43
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl EntityTrait<GraphicsEnum> for Player {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<CollisionLayer>`
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn collides_with_layers(&self) -> Vec<CollisionLayer> {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope
[INFO] [stdout]   --> src/entities/player.rs:46:46
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:46:71
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn get_initial_state(&mut self, engine: &Engine<GraphicsEnum>) -> EntityState {
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope
[INFO] [stdout]   --> src/entities/player.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let hitbox = Hitbox {
[INFO] [stdout]    |                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         EntityState {
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/player.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/player.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/player.rs:111:28
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]    --> src/entities/player.rs:111:56
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/player.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |         self_state: &mut EntityState,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]    --> src/entities/player.rs:145:26
[INFO] [stdout]     |
[INFO] [stdout] 145 |         _other: &Box<dyn EntityTrait<GraphicsEnum>>,
[INFO] [stdout]     |                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]    --> src/entities/player.rs:146:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |         other_state: &mut EntityState,
[INFO] [stdout]     |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]    --> src/entities/player.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]     |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Color` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl EntityTrait<GraphicsEnum> for YouLost {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:23:52
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics<GraphicsEnum>) -> Result<()> {
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:36:26
[INFO] [stdout]    |
[INFO] [stdout] 36 |         game_state: &mut GameState,
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |         state: &mut EntityState,
[INFO] [stdout]    |                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope
[INFO] [stdout]   --> src/entities/you_lost.rs:38:14
[INFO] [stdout]    |
[INFO] [stdout] 38 |     ) -> Vec<EntityEvent<GraphicsEnum>> {
[INFO] [stdout]    |              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `TGraphicIndex` in crate `engine`
[INFO] [stdout]   --> src/main.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl engine::TGraphicIndex for GraphicsEnum {}
[INFO] [stdout]    |              ^^^^^^^^^^^^^ not found in `engine`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `engine::*`
[INFO] [stdout]  --> src/entities/enemy_spawner.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use engine::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 108 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d7101f66d41bbb9c476ab9d9e1022848b8c8312cf311833ae11196d7b0294fa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7101f66d41bbb9c476ab9d9e1022848b8c8312cf311833ae11196d7b0294fa8", kill_on_drop: false }`
[INFO] [stdout] d7101f66d41bbb9c476ab9d9e1022848b8c8312cf311833ae11196d7b0294fa8
